Daily Coding Problem

Newsletter Image

Messages

11/10/2024
19 : 24

Daily Coding Problem: Problem #1604 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Oracle. Given a binary search tree, find the floor and ceiling of a given integer. The
11/9/2024
19 : 14

Daily Coding Problem: Problem #1603 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Pivotal. Write an algorithm that finds the total number of set bits in all integers
11/8/2024
19 : 24

Daily Coding Problem: Problem #1602 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by LinkedIn. You are given a string consisting of the letters x and y , such as xyxxxyxyy .
11/7/2024
19 : 44

Daily Coding Problem: Problem #1601 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This question was asked by Apple. Given a binary tree, find a minimum path sum from root to a leaf. For example,
11/6/2024
19 : 34

Daily Coding Problem: Problem #1600 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Implement a stack API using only a heap. A stack implements the following
11/5/2024
19 : 34

Daily Coding Problem: Problem #1599 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Snapchat. Given a string of digits, generate all possible valid IP address combinations.
11/3/2024
19 : 14

Daily Coding Problem: Problem #1598 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. You are given an array X of floating-point numbers x 1 , x 2 , ... x n . These
11/2/2024
18 : 14

Daily Coding Problem: Problem #1597 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given pre-order and in-order traversals of a binary tree, write a function to
11/1/2024
18 : 14

Daily Coding Problem: Problem #1596 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. A tree is symmetric if its data and shape remain unchanged when it is reflected
10/31/2024
18 : 14

Daily Coding Problem: Problem #1595 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a string, split it into as few strings as possible such that each string
10/30/2024
18 : 44

Daily Coding Problem: Problem #1594 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given given a list of rectangles represented by min and max x- and y-
10/29/2024
18 : 24

Daily Coding Problem: Problem #1593 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Two Sigma. Using a function rand7() that returns an integer from 1 to 7 (inclusive) with
10/28/2024
18 : 44

Daily Coding Problem: Problem #1592 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked Microsoft. Using a read7() method that returns 7 characters from a file, implement readN(n)
10/27/2024
18 : 14

Daily Coding Problem: Problem #1591 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a list of integers S and a target number k, write a function that returns
10/26/2024
18 : 24

Daily Coding Problem: Problem #1590 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given a string, find the length of the smallest window that contains every
10/25/2024
18 : 24

Daily Coding Problem: Problem #1589 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. On a mysterious island there are creatures known as Quxes which come in three
10/24/2024
18 : 54

Daily Coding Problem: Problem #1588 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Slack. You are given an N by M matrix of 0 s and 1 s. Starting from the top left corner,
10/23/2024
18 : 34

Daily Coding Problem: Problem #1587 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yelp. You are given an array of integers, where each element represents the maximum
10/22/2024
18 : 34

Daily Coding Problem: Problem #1586 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. An 8-puzzle is a game played on a 3 x 3 board of tiles, with the ninth tile
10/21/2024
18 : 24

Daily Coding Problem: Problem #1585 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. The Sieve of Eratosthenes is an algorithm used to generate all prime numbers